const form = {
  labelCol: {
    xs: { span: 24 },
    sm: { span: 4 },
  },
  wrapperCol: {
    xs: { span: 24 },
    sm: { span: 18 },
  },
  //表单默认冒号
  colon: true,
}
export const basicProps = {
  model: {
    type: Object,
    default: {},
  },
  // 标签宽度  固定宽度
  labelWidth: {
    type: [Number, String, null],
    default: null,
  },

  // 表单配置规则
  schemas: {
    type: [Array],
    default: () => [],
  },
  mergeDynamicData: {
    type: Object,
    default: null,
  },
  baseRowStyle: {
    type: Object,
  },
  baseColProps: {
    type: Object,
  },
  rowProps: {
    type: Object,
    default: () => ({}),
  },
  colProps: {
    type: Object,
    default: () => ({}),
  },
  // 禁用表单
  disabled: {
    type: Boolean,
    default: false,
  },
  emptySpan: {
    type: [Number, Object],
    default: 0,
  },

  labelCol: {
    type: Object,
    default: form.labelCol,
  },

  inline: {
    type: Boolean,
    default: false,
  },
  tableAction: {
    type: Object,
  },

  wrapperCol: {
    type: Object,
    default: form.wrapperCol,
  },

  labelPosition: {
    type: String,
    default: 'right',
  },
}
